#include <cstring>
#include "client.h"
#include "log_reader.h"
#include "log_sender.h"
#include "console_sender.h"
#include "socket_sender.h"
using namespace std;

int main()
{
	cout << "******************************" << endl <<endl;
	cout << "欢迎来到DMS数据采集系统客户端！"<< endl << endl;
	cout << "******************************" << endl <<endl;
	sleep(1);
	
	LogReader log_reader;
    SocketSender sock_sender;
    Client client(log_reader, sock_sender);
    client.dataMine();

	return 0;
}
